import Wsocket from "@/utils/Wsocket.js";

class List extends Wsocket {
  timer = null

  interval = 10 * 1000

  constructor() {
    super();
  }

  getList() {
    this.timer = setInterval(() => {
      this.send({ event: 'get_new_list' })
    }, this.interval)
  }

}

export default List
